#############
# lasertraqd Makefile.am
# v0.4 - (c) Daniel Hiepler (2010-2013)


EXTRA_DIST = 

bin_PROGRAMS = lasertraqd

lasertraqd_SOURCES = \
	gfx.c \
	main.c \
	prefs.c \
	source.c \
	util.c \
	x11.c



lasertraqd_INCLUDES = \
	-I$(top_srcdir) -I$(top_srcdir)/include

lasertraqd_CFLAGS = \
	-std=c99 -D_BSD_SOURCE \
	-DDATADIR=\"$(datadir)\" \
	-Wall -Wextra -Werror -Wno-unused-parameter \
	$(LASERTRAQD_CFLAGS) \
	$(lasertraqd_INCLUDES)

lasertraqd_LDADD = $(LASERTRAQD_LIBS)
lasertraqd_LDFLAGS = $(LASERTRAQD_LIBS)




if ENABLE_GPROF
	lasertraqd_CFLAGS += -pg
	lasertraqd_LDFLAGS += -pg
endif

if ENABLE_DEBUG
	lasertraqd_CFLAGS += -DDEBUG
endif
